package com.atguigu.gmall.pay.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lfy
 * @Description
 * @create 2023-08-05 10:37
 */
@Data
@Component
@ConfigurationProperties(prefix = "app.alipay")
public class AlipayProperties {

    private String app_id; //应用ip
    private String merchant_private_key; //商户私钥，应用私钥
    private String alipay_public_key;//支付宝公钥
    private String notify_url; //异步通知
    private String return_url; //同步跳转，支付成功以后跳转到哪个页面
    private String sign_type;//签名类型
    private String charset; //字符编码
    private String gatewayUrl; //支付网关

}
